Worker setup hook for numpy