Fix for #503 - avoid omitting frame pointer on Win32

Tested on Windows and Linux.