Revert "add freeimage"

This reverts commit b05f7e319896c0ca6d35884c48eec87e0374a52f.