Fix some link errors.