Fixing wrapper generation to load depends before init for python plugins

* Minor adding exception handling flag to cl compiler.