Updated to build with latest version of dependencies if their version is not specified, otherwise, try to find one