Fixing macosx after recent check_source* changes.