Workaround for GCC4.6 regression