Added library path distinction for Mac and Linux