Add missing compile definition (fixes #2)

To use FreeImage as a static library, "FREEIMAGE_LIB" must be defined when compiling
the executable.