Don't use defined-or operator for the sake of older releases of perl

Fixes #203. Also avoid triggering a warning