Test env for things before trying to use them
Apparently Windows doesn't like normal binary checks