If 2 libs have same .h file, use the lib with same dir name
Merge pull request #1853 from PaulStoffregen/master

If 2 libs have same .h file, use the lib with same dir name