cmake: fix compile

use cmakes internal support for .rc files