finish first pass at compiling C++ library items
fix olink to work in VS debugger
prototype a function to fix a release mode bug