Fix compile on gcc 4.8, fixes #53