Core: Fix plugin unit test on Win

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