Fixed compilation of resource files.