fixed build failures.