lib/exec: rationalize constructors