Fixed various win32 issues with carriage return, -Defines now can contai...

- fixed various win32 issues with carriage return
- -Defines now can contain expandable ${variables}
- fixed gathering system #includes when working with baremetal toolchain (newlib).