adjust to netlib changes