[Linux] determineArchitecture is not cross-compile aware