Add lock alias on OSX.