support building wing using SCons
remove unneeded code round 2