Can't use pyrepl: No module named 'msvcrt' in Linux

configure --enable-shared
–prefix=<…>
–with-openssl=<…>/openssl
CPPFLAGS=“-fno-semantic-interposition -I<…>/openssl/include -I<…>/zlib/include -I<…>/ffi-3.2.1/lib/libffi-3.2.1/include”
LDFLAGS=“-L<…>/openssl/lib -L<…>/zlib/lib -L<…>/ffi/lib64”

I dounloaded XZ-compressed source from Python Source Releases | Python.org