fix monacore library path