IdManager tweaks
Make travis build with gcc 4.8