Correct name of build file.
Provide field order for winsize structure.
Fix constants for Linux.
Updated lib.
Merge remote-tracking branch 'origin/master'