Fixed import error with some numpy version(s)

This is issue reported by Bitton Tenessi on the mailing list.