changes to allows windows to compile