Updated version-script detection macro