player: Patch some compilation errors