Revert "Modify some files to compile for YUNEEC"

This reverts commit cd9929479d2f3c50d16b7b901aca8d1425ab2366.