Fix compile under Windows, remove unused default setting