fixing linking error

attempting to fix linking errors