add lunar calendar win32 and some other changes