Fix clang compilation flags

-Wno-comment was only enabled when libcpp was used.