build: remove hacks from top level wscript