Update nagioscore.sh

Added some missing paths
Added prerequisites for building check_snmp plugin successfully