fix compilation for pandora