fixed liblua detection.