super small amd shim with path resolution