configure: fix builtin detection w/-Werror

and other warnings enabled (-Wunused-value)

Change-Id: Ic0080d559366a5254d0fa3ba939150445157087f
1 file changed