libical3 compatibility , patches submitted by Adrian Bunk