Make pandas sharing check compatible with numpy 1.7