Extracted method to obtain SYSTEM_INFO from functions in sysinfo.c
Added proper method to obtain page size in windows