Compile errors fixed. refs #500