fixed linking errors so project can build.