[linux-pam] build: extend cross compiling check to cover CPPFLAGS (ticket #21)