Removes MacOS specific commands