Wait for compiler to finish