When compiling and building openssl, run the following commands:
cd openssl-0.9.7e
config
make
Also, for Apache 1.3, the directory name of the mod_ssl source will vary depending upon the release of Apache used. For example, for Apache 1.3.33, the name is mod_ssl-2.8.22-1.3.33.