*nix fixes

Remove  trailing commas in arrays.
Replace obsolete CLK_TCK for CLOCKS_PER_SEC