standardize link flags, use rc instead of windres

skip a few headers (will need to find replacements for these)