discover sdk path automatically