Fixed qmake script for mountain lion.