BUG: fix restrict check

If the compiler does not support the keyword the macro must still exist.