Compile against compilers that #define stat