attempt to fix final linking errors (LNK2005 and LNK2001)