Fix undef warnings.