osx: blacklist p2pX interfaces

They are related to AirDrop and transmitting anything on it will broke
the wireless network. This should fix #61.
configure: make some flags conditional

Use of _XOPEN_SOURCE is quite dangerous.