I don't know how Mozilla was able to build this without defining ST_NO_EXCEPTION_HANDLING, but looks like we have to do it so that the compiler doesn't complain about -fno-exceptions