Unable to install bedtools on windows 10 ubuntu
My personal advice would be to avoid compiling tools like this if you can avoid it, especially where you are using a "barebones" setup like the one you get with WSL Ubunutu as you'll almost always run into dependency issues. 

The linux version of conda installs just fine in WSL and bioconda hae pretty much any bioinformatics package you might need, already compiled.