Use the cpython getpath.c file
Use the openssl lib from https://github.com/krzyzanowskim/OpenSSL

zlib is available in the SDK
Build also for x86_64