mouse wheel support under SDL; fix SDL build on windows