ported project to OSX, now builds and runs fine