Add more logging to script compilation errors
Move script compilation logging to general build error logging