DateLib (TM) portability

The DateLib (TM) is a high portable library, but it seems that nothing can be 100% portable without any modifications.

To make the library as portable as possible the following decision have been made: