mac OSX conditional changes