fixed build issues on lab machines