use boost nullptr detection rather than rolling our own.

We no longer have to worry about changing flags after the initial config. close #431