Added platform comparison in method search_by_dependecy
to use platform settings when specified.