Added swap interval to osx