Add all warnings to linux build script
Align structs to one byte boundaries
Add static to global variables in library