fixed build with GCC 4.1