g++ 4.8.1 can now compile the sample, wooooo