Modify to build on Ubuntu Linux