remove native check since it has no more references - fixes also the problem with missing build_lib