Fixed linking errors with windriver