Fix compatibility with Numpy 1.4.1

@iguananaut - this should be merged and included in 0.2.2 as otherwise tests are failing with Numpy 1.4.1 (which 0.2 should support)

My Mac Jenkins is having issues again - the builds are not getting published because of some obscure error with the plugin. [facedesk]