fix permissions of binaries