Fixed a couple of compilation problems.