Fixed some malformed statements that were accepted by g++ (not clang)