use relative paths for check target too