Changes to build on ubuntu platform.