Shouldn't this be `if osx?`?