fix build with older compilers