fixed build issues.