fix debug options for MSVC

* Also affs and sfs have now been confirmed working