Autotools: Improve the rule to compile Windows resource file