Core: Buildfix for locator test

Change-Id: Ic5fd63855c752fd07b6ef474bc72be7f7397dec5
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>