Added <mod>_keepsymbols flag to stop symbols being stripped when libs are added to DLLs
Remove a loop in dealing with deps