Fix workaround for QTBUG-41238.

Fixes build on OS X 10.10.
Fix OS X Travis build.

Don't try to install python, it is installed by default now.
Merge pull request #297 from rygwdn/topic/osx

Fix OS X build.