Error: The HTTP image filter module requires the GD library – Nginx / CentOS 7.3

Ran into another error while trying to compile nginx from source

This has a quick fix as well, issue the following at shell:

That should be it.