fixed bug in /etc/hostapd/hostapd.conf writing, added compiling of hostapd