Fix compiling project under OS X using either XCode or Unix project file