Update gitignore to filer MSVC files.
Fix for missing timespec when building with MSVC.
Declare ASPI functions to avoid linker warnings.
Fix compatibility with windows.h.
Add VS project files.