wscript: Fix build error when sys.platform == linux3

Some python implementations report "linux3" on newer kernels. Of course,
we'll have to set IS_LINUX for those, too.
Merge remote-tracking branch 'upstream/master'