fixed ifc issue in building deps