Fixes for BUNDLE_SRC builds

FreeImagePlus didn't have its library paths being set properly and
the _TESTING targets were failing because they assume USE_BUNDLE_SRC isn't
being used.