Added custom assert handling, allowing assert() to produce clean Presto exceptions.