Detection of a proper library on a compile time.