Add warnings to builds, and basic fixes for Linux - unify ASSERT signature, properly reference std functions from cstring.