Revert "fixed linking error from bad commit"

This reverts commit 25c74dda8407c48d5390556099a122ba2027f1bd.