Fix generating winresource.o with build dir != source dir