fixed solidity not building on macos

Yes, there should be a constructor :-)
But I think you can remove "explicit".