FreeImage: Fix previous commit. Fix dependencies.