Removed mac specific code.