Prepare code to build under Ubuntu