GCC 4.7 now successfully compiles sync-prompt

Fixes issue #4