Added compiling to dll and python wrapper