Fix Linux linking issue