fix sanity check, check for static libs