libpds: Make work on ubuntu