Replace locate with find

Use find instead of locate since some distros dont install locate by
default.