Added optional loading of liblua