OS X build script bug fix

Use VERSION instead of version.pri to determine release version (version.pri was removed)