diagnostic for lib location
... and use the correct one