Removed this ugly if(APPLE) (thanks Markus)