small fixes and cosmetics to build of wkcocos.