Check all changes are committed before compiling