Revert "Honor variables so static builds work correctly."

This reverts commit 3283544abe2cb18be463cec6690bcdd97cc0eae4. See issue #471.