Error fix for GCC 4.6.3