UNIX flags: -Os -> -O2, and refactored windows build
UNIX flags: -Os -> -O2, and refactored windows build

Beirdo/gjhurlbu-custom-memory-mongoose,Beirdo/gjhurlbu-custom-memory-mongoose,Beirdo/gjhurlbu-custom-memory-mongoose,Beirdo/gjhurlbu-custom-memory-mongoose,Beirdo/gjhurlbu-custom-memory-mongoose,Beirdo/gjhurlbu-custom-memory-mongoose,Beirdo/gjhurlbu-custom-memory-mongoose