Fix build error. Problem with incompatible sub-dependendencies