should fix issues with gcc < 4.6