build on ubuntu/libstd++ by avoiding libc++ extension - closes #2092