FIX : astype with older numpy