fixing build so that it works with liblua