Fixed error with -Werror option when installing nginx