Fixed linking issue with test utility on Linux