OS X build fixing

Please pull so others can build Stonesense on the Mac, too :-)