MAINT: preserve compatibility with backwards incompatible change in numpy 1.10

closes https://github.com/cvxgrp/cvxpy/issues/156
see https://github.com/numpy/numpy/pull/5369