run ldconfig on install only on Linux