Modify some files to compile for YUNEEC

There're still many errors