Fix ut_imgpathes build.