Fixed build script to enable specification of python config & executable.