Fix required library path

This reverts 98f5c86b6aac553c73799a74f8381b3a5d6668e8 by hand.