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