fix silly cmake linking