fix compiler stdlib detect