[3.8] Add some changes required for tests on new Ubuntu 12.04 3.8.0-25 x86-32 kernel.

linux/compiler.h has moved - can't be located by the tests anymore for 3.8.0-35 x86-32 Ubuntu kernel.

Includes some changes to support 3.13 (configure script).

[+DLCL]

[git-p4: depot-paths = "//dev/talpa/main/": change = 2368749]