remove executable portions, make archie a lib