compiling fix for #196