Tentative fix for win32 build warning
metadata manager: use gdatetime and guint64

this should fix problems related to how time_t is defined on win32
metadata manager: retry another blind fix

this time it may even compile...
Also change the format
Fix the windows build
Specify INTROSPECTION_SCANNER_ENV to be able to build on windows