made .PRI file for use with qmake, fixed up CMakeLists for Mac