fixed build problems.