Fixed build process for ubuntu linux