Fixed incorrect settings for compilation of resource files