Fix for working on older compilers