Remove OSX specific behaviour