Added OS specific lookup commands

This resolved my issue on OSX and should clear up any issues on Windows. Will
need confirmation from a Windows user though. Closes #2