alx: mostly compile fixes

The first two patches are fixing problems when compiling alx against 
kernel 3.10-rc4. This was only compile tested in backports and not run 
time tested.