[#1470] Fixed warnings on resource builds