wrap shim for build