Turn on generating not-null assertions by default

When compiling from IDE