python,build: Reinstate prepare target.