Do not use 'linux2' to determine if we are running linux

Fix #539