Correct if statement, update serial port protocol change

Correct if statement, update serial port protocol change
Stop forcing libraries in project

Use -l<x> instead of /opt/local/lib/lib<x>.a
Merge pull request #19 from j-d-u/fixminorbugs

Fix a couple of trivial issues