Add preliminary build system.
Fix bad include file path separator.
Fix clang warning.
Cleanup & add platform defs.
Fix crash.