Add flocking to CPP.pm and Makefile.PL to prevent race conditions during install and compilation.