Solving compilation bugs on Ubuntu