Fix building of installation package for osx