Update setup.sh

compiler checking added