Add workaround for creating bool array in numpy 1.5.1