port fix in serialize.h in order to have miner working with OSX devices
Merge pull request #3 from matteocrippa/psforkinit

port fix in serialize.h in order to have miner working with OSX devices