Added spacing to compile.sh

And made it exit out on compile error.