Fix nagios-plugins building