Fixed condition for try blocks when compiling without exception support