Fix broken linuxmodule package support.

And add support for newer Linux versions, which don't handle the .ko
suffix well (so use .k.o, .u.o, etc.).