Compiled for windows and fixed stuff accordingly.