Library files load intuitively as well as the openssl.cnf file

It seems the current version of v0.3.1 cannot find ANY "required_once()" files found in the RSA.php file at the top, My temporary solution was to put it in the top level phpseclib folder and that seem to work however my openssl.cnf file didn't load so I changed that, I soon came to find that adding dir(__FILE__) to the require_once files will allow it to load on my system like the author intended and then i didn't have to alter openssl.cnf either with this fix.

I'm using Ubuntu 12.04 64bit (And tested on 32bit)
Apache2/PHP5+