Fix compilations errors.