BUG: check axes and window length input for all integer types

On Python 2.7, the long type was excluded.