osx: fix release build