Add defines to new list_ports methods to compile on OSX.
Fix typo.
Merge pull request #66 from bakercp/bugfix_osx_compiling

Add defines to new list_ports methods to compile on OSX.