Remove empty target file after failed compilation