Support compiling in Ubuntu