Automake sanitisation

    Do not alter environment CFLAGS, CPPFLAGS etc.
    
    These variables should never be overriden by our makefiles, only the
    AM_CFLAGS or libcf_agent_la_CFLAGS variants are to be set.
    
    Also fixed wrong libutils dependencies that were discovered after this
    change: libutils currently must link to OpenSSL and PCRE.
    
    This clean-up occurred after an attempt to only link cf-upgrade to
    libutils, but noticing that it pulls out everything as dependency.

*Always* platform.h should come first.

If in some cases you see filename.h to be included first within filename.c, it usually happens because the header file first includes platform.h itself. Or it's a bug.