Linux: Refactor test for 32bit compat