Use <mt:Var name="static_uri"> instead of <mt:StaticWebPath />.