Fixes compile errors.