Fixes minor compilation errors.