added -lssl for unit test
Fixed #2