Fixes deps/build.jl on Travis (#142)
Fixes deps/build.jl on Travis (#142)

The problem is that we need to specify `MSHADOW_LDFLAGS` and
`MSHADOW_CFLAGS`. The way MXNet is currently setup we can't change these
from the terminal. This solves the problem by using `sed` to change
`mshadow/make/mshadow.mk`. But if mshadow would change git could throw
an error on updating. So we remove the changes before an update and add
them afterwards again. This has the drawback that users can't modifty
that file. (But those users should maintain their own build and use
`MXNET_HOME`.)

This also eagerly deletes `usr/lib/libmxnet.so` So that we actually
trigger a rebuild on an update of the pkg.
sxjscience/mxnet,tlby/mxnet,mbaijal/incubator-mxnet,larroy/mxnet,leezu/mxnet,eric-haibin-lin/mxnet,eric-haibin-lin/mxnet,larroy/mxnet,sxjscience/mxnet,dmlc/mxnet,szha/mxnet,apache/incubator-mxnet,ptrendx/mxnet,DickJC123/mxnet,eric-haibin-lin/mxnet,mbaijal/incubator-mxnet,eric-haibin-lin/mxnet,leezu/mxnet,szha/mxnet,ForkedReposBak/mxnet,yajiedesign/mxnet,zhreshold/mxnet,leezu/mxnet,mbaijal/incubator-mxnet,apache/incubator-mxnet,szha/mxnet,tlby/mxnet,yajiedesign/mxnet,yajiedesign/mxnet,zhreshold/mxnet,ptrendx/mxnet,sxjscience/mxnet,leezu/mxnet,szha/mxnet,mbaijal/incubator-mxnet,reminisce/mxnet,mbaijal/incubator-mxnet,ForkedReposBak/mxnet,ptrendx/mxnet,tlby/mxnet,apache/incubator-mxnet,DickJC123/mxnet,dmlc/mxnet,ptrendx/mxnet,sxjscience/mxnet,larroy/mxnet,sxjscience/mxnet,dmlc/mxnet,yajiedesign/mxnet,leezu/mxnet,reminisce/mxnet,eric-haibin-lin/mxnet,tlby/mxnet,reminisce/mxnet,szha/mxnet,dmlc/mxnet,ptrendx/mxnet,zhreshold/mxnet,mbaijal/incubator-mxnet,yajiedesign/mxnet,larroy/mxnet,zhreshold/mxnet,zhreshold/mxnet,larroy/mxnet,sxjscience/mxnet,yajiedesign/mxnet,tlby/mxnet,reminisce/mxnet,reminisce/mxnet,yajiedesign/mxnet,szha/mxnet,eric-haibin-lin/mxnet,yajiedesign/mxnet,ForkedReposBak/mxnet,ForkedReposBak/mxnet,ForkedReposBak/mxnet,zhreshold/mxnet,reminisce/mxnet,zhreshold/mxnet,ForkedReposBak/mxnet,tlby/mxnet,sxjscience/mxnet,eric-haibin-lin/mxnet,szha/mxnet,leezu/mxnet,leezu/mxnet,larroy/mxnet,mbaijal/incubator-mxnet,larroy/mxnet,reminisce/mxnet,sxjscience/mxnet,ptrendx/mxnet,ForkedReposBak/mxnet,ForkedReposBak/mxnet,zhreshold/mxnet,leezu/mxnet,ptrendx/mxnet,szha/mxnet,JuliaPackageMirrors/MXNet.jl,tlby/mxnet,larroy/mxnet,mbaijal/incubator-mxnet,tlby/mxnet,DickJC123/mxnet,larroy/mxnet,zhreshold/mxnet,dmlc/mxnet,szha/mxnet,apache/incubator-mxnet,reminisce/mxnet,ptrendx/mxnet,eric-haibin-lin/mxnet,dmlc/mxnet,tlby/mxnet,ptrendx/mxnet,eric-haibin-lin/mxnet,tlby/mxnet,reminisce/mxnet,dmlc/mxnet,leezu/mxnet,reminisce/mxnet,mbaijal/incubator-mxnet,dmlc/mxnet,ForkedReposBak/mxnet,sxjscience/mxnet,DickJC123/mxnet,dmlc/mxnet,yajiedesign/mxnet,ptrendx/mxnet