Fix #2 libPath with trailing slash