security/opendnssec: fix build on SmartOS

- add missing openssl buildlink and adjust path
- use c99 to fix build on SmartOS