solving compilation problems