Fixed linking error in Makefile

Added libpcre inking reference which was missing.
libcrypto reference added before openssl reference to avoid undefined reference on libcurl.so