Add unixy build script
Fix up compiler warnings