! Fix some undefined errors (fixes #1742)

Signed-off-by: Michael Eshom <oldiesmann@oldiesmann.us>