Attempt to fix undefined references errors during linking