Fix problem loading debug symbols when debugging