trying to fix compile issues with stack-collector-agent