add -ldl back to liblast for non-win32