Fix build on gcc-4.9
Add ip module