added stdlib for OS X/clang compile