fixed build problems on office linux