osx-serial fix