Pytorch with APL - LAPACK issue

We have a successful build of Pytorch from the source code on Windows with APL. But while trying to use we are getting errors such as: 

RuntimeError: svd: LAPACK library not found in compilation.

Can you point me to the right direction of understanding the problem? We followed the Windows guidelines but maybe we are not linking something correctly or not linking at all.