Fix cross-compiling issues by changing to use gnu++11/gnu++0x standard.
Also add a few more classes into AMALG exclude to keep the amalgamated build working using these new standard.
[ci skip]