Fixed pmacctd locking issue [tracker #1662]
Prepped for build