use stdin on clang