(FIX) fixes for Solaris specific switches, and removes hacks

- Previously, the patching command was relying on Solaris specific switches, and did not provide a way to apply platform specific patches. This PR uses GNU find as default patch listing, and provides platform specific patch location.
- The location of correct SHELL varies by platform (/bin/bash, /usr/bin/bash, /usr/local/bin/bash). This PR moves the definition of SHELL to platform specific makefiles
- Fixes openssl includes which forgets to copy md2.h to the correct include directory, and removes a patch which hacked around it.