remove -std=c++03 flag and rename pause() to my_pause(), tested on Mac OS X