Only set the SQL mode if we are in WP >= 3.9.