Update monitor.sh

needs gcc