Made rust link to target lib directory