Upgraded code to work with the current libosmium master

i.e. d46c1cf4b1e1482a39ddc1b70ec293cb9e294d94