I believe you can add something to your mysqld startup script that stores the default settings. However, this is something that UBB should be dealing with as more and more sites upgrade to MySQL 5 and strict mode is the default.