Solving compilation issues in unittest configuration.