Update all lib paths to check for subdirectories