cross platform c++ class lib (makefile version)