Compile with openssl for 6.3 on a rhel8 host

Hi,
I am trying to follow the Readme in the foundationdb (fdb) GitHub repo to compile FDB from source. One thing I notice is that if I do that from a linux host (say centos 8/centos7/rhel 8), the ssl option is not turned on even if I pass the parameter in -D. But if I use the foundationdb build docker env. to do that, it is on. Is it because the docker env. has the openssl library installed and compiled while on a normal host I don’t have the necessary library and hence it won’t pass the checking? Just want to confirm.
Thanks,