Small code change, now PHP doesn't need to be compiled with --enable-calendar option, kudos to Carsten Biemann