Fixed compilation for X509, moving on to codecs and hashes