Detect what type of _umain is user-defined (ref gh-22).