sm: add lib64 to LDFLAGS as well