If compiling an OSX dmg, don't try to change permission on a file which doesn't exist for that platform