fixing compilation problems.