compile credValidator as per platform

Signed-off-by: sneethiraj <sneethir@apache.org>
ARGUS-87: Modified to fix maven install to get native C executable for Unix authentication