fixed Linux linking issue