Windows compile and FindElement fixes.