made it compile again... still needs testing
Signed-off-by:Craig Russell <tenowg@gmail.com>