make netmap independent build