Add --cxxflags and --shlibflags configure options

Support for these options allows POCO to be easily built on OS X with C++11 enabled and as libc++ as stdib.