fixed link errors for hlslcrosscompiler