fixed build for ethernet support