fixes cargo build command on osx