os x changes

minor changes for os x