issue #582: ifdef'd unused functions to eliminate need to patch build on Raspberry PI