I had cloned your repo under my ~/Arduino directory and was trying to build/run from there. I was getting the compile error. I went into the Arduino IDE and installed QNEthernet from there, which copied it to ~/Arduino/libraries/QNEthernet. Now when I load/build/run from there it works. Thanks.