fix some compiler warnings
rework the hostapd wrapper to simplify installation