Add hook for PyNaCl

Can you confirm it works on OSX with that change? If so, mind submitting an updated pull request?