[PATCH] Fix compilation on Unix with FreeImage and GL2PS support