Add dynamic ethernet module
Fix build error on some environments