update compile script to use shim