Fixes compilation problems.