Undef and def workaroud for clang