I actually don't think it's possible. All new DBs use MySQL5 and soon all current DBs will be using MySQL5, too. ie: they're phasing out MySQL4.
Is there anyway to harp on the creator of the SQL script to get his code compliant with MySQL5? Seeing as everything's moving forward, I'd put the responsiability on the script creator to make his code compliant.