Also fix bogus windows detect.py
Rename `lws` to `libwebsockets` which is its library name. Add missing license file for mbedtls.