Support lib selection
Remove ftdetect