fix that clang fails to compile generated sources