Fixed a few things... still cannot get library to link properly