This will return TEB pointer on 32-bit Windows:
Also PEB in TEB is at offset 0x30.
I don't remember structure of PEB, but its layout probably also is different (to get LoaderData member). Check the structure declaration.
For win32_pe structure check this link:
https://docs.microsoft.com/en-us/windows/desktop/debug/pe-format
Pay attention to "Optional Header (Image Only)".
Using or not using CRT is completely orthogonal to this. It does not affect this "no-imports" hack.
Btw, its fun to do this, but I suggest avoiding this in real production code (the one you want to give to other people). Many security software or anti-virus'es doesn't like executables that do not have any imports and may flag your exe as very suspicious. Link to kernel32.dll to get LoadLibrary & GetProcAddress, and there's no need for this hackery.