Fixed error on some compilers