Bugfix Mac OS X build process to replace user/group configured in build.mac.properties

Refactoring user/group permissions