Header change
Fix compat.h

Change condition to make sure it works with non-Microsoft compilers as
intended