switched to g++-4.6 so it will compile on linux