(cmake) Fix osx bundle generation