Add the stack protector flag to the debug builds...
Fix a bug where crazy bullshit happened because the type was mis-cast...