Compile script recognizes failed compilation

Different messages based on whether compiled file is found or not