Merge pull request #1282 from akgood/reorder_libs

Reorder OpenSSL libraries on the linker command-line