Conda fixes

Fixes for building on Windows. Essentially just involves changing the c files to cpp because Visual Studio doesn't properly support C99.