Error: The Google perftools Module Requires the Google PerfTools – Nginx / CentOS 7.3

Got this while trying to compile nginx from source.

./configure: error: the Google perftools module requires the Google perftools

Issue the following at shell to fix this:

yum install gperftools-devel