Made native Windows compatble