made build test-aware
fixed output name for lapack lib