[aml] fixed wifi detect under jellybean
[aml] fixed network WakeOnLan
[aml] fixed compile under linux