fixing library path when including files for performance