Tweaks to get python respect users LDFLAGS and added -shared
Removed non-standard debug messages
Merge remote-tracking branch 'devel/improved_python_build_and_numpy_build' into devel-master