fix for faulty arch native detection