(os: project 1): prepare for windows.
(os: project 4): port getline for windows.

ref: http://stackoverflow.com/questions/735126/are-there-alternate-implementations-of-gnu-getline-interface
(os: project 4): add windows port.
(os: project 4): fix for windows.