Small compatibility fixes

Signed-off-by: Bert Hajee <hajee@moretIA.com>