Stricter compiler warnings, fix warn