Added: Sample can almost compile with GCC.