Quickly fix all compile errors and warnings