Add missing locate()

Signed-off-by: crynobone <crynobone@gmail.com>