minor fix for lib arch check (removed invalid space in regex)