fix executables on osx/linux