Use correct scope for variable mysql_libs_obsolete