OS X build script improvements

Use xz instead of gzip compression for release tarball
Release version bug fix (remove newline from VERSION file)