fixed atlbench to handle cross-compilation