Clean up Mac OS X proper builds to enable python-bindings. #3584