Fixed a couple compile-time issues.