finish OSX-specific changes