Fix compile errors

 - fix clang compile errors
 - bind PDC usage to TOOLS_MPI option