Fixes compilation errors.