loader: fixed shimDefine and shimRequire. no more random failed loads