Add check for #pragma once support to configure

Signed-off-by: Michael Leibowitz <michael.leibowitz@intel.com>