Fixing resource reference in cmake file config