Fix lack of dylib support in Makefile when use lapack (#15813)
Fix lack of dylib support in Makefile when use lapack (#15813)

* fix

* add another if-else pair

eric-haibin-lin/mxnet,sxjscience/mxnet,leezu/mxnet,eric-haibin-lin/mxnet,tlby/mxnet,ForkedReposBak/mxnet,larroy/mxnet,DickJC123/mxnet,apache/incubator-mxnet,larroy/mxnet,yajiedesign/mxnet,sxjscience/mxnet,tlby/mxnet,DickJC123/mxnet,larroy/mxnet,zhreshold/mxnet,ForkedReposBak/mxnet,eric-haibin-lin/mxnet,ForkedReposBak/mxnet,szha/mxnet,apache/incubator-mxnet,szha/mxnet,tlby/mxnet,leezu/mxnet,apache/incubator-mxnet,apache/incubator-mxnet,ForkedReposBak/mxnet,DickJC123/mxnet,zhreshold/mxnet,larroy/mxnet,tlby/mxnet,larroy/mxnet,larroy/mxnet,szha/mxnet,leezu/mxnet,eric-haibin-lin/mxnet,zhreshold/mxnet,eric-haibin-lin/mxnet,DickJC123/mxnet,leezu/mxnet,yajiedesign/mxnet,leezu/mxnet,szha/mxnet,sxjscience/mxnet,szha/mxnet,zhreshold/mxnet,zhreshold/mxnet,szha/mxnet,zhreshold/mxnet,sxjscience/mxnet,sxjscience/mxnet,leezu/mxnet,yajiedesign/mxnet,szha/mxnet,yajiedesign/mxnet,tlby/mxnet,tlby/mxnet,tlby/mxnet,leezu/mxnet,ForkedReposBak/mxnet,sxjscience/mxnet,eric-haibin-lin/mxnet,eric-haibin-lin/mxnet,yajiedesign/mxnet,larroy/mxnet,yajiedesign/mxnet,larroy/mxnet,tlby/mxnet,zhreshold/mxnet,ForkedReposBak/mxnet,yajiedesign/mxnet,larroy/mxnet,szha/mxnet,leezu/mxnet,szha/mxnet,ForkedReposBak/mxnet,eric-haibin-lin/mxnet,ForkedReposBak/mxnet,sxjscience/mxnet,yajiedesign/mxnet,tlby/mxnet,tlby/mxnet,leezu/mxnet,ForkedReposBak/mxnet,zhreshold/mxnet,sxjscience/mxnet,zhreshold/mxnet,sxjscience/mxnet,eric-haibin-lin/mxnet,yajiedesign/mxnet