Merge pull request #522 from alex/no-ec-openssl

Fixed #521 -- work on systems with no ec header at all