Nonfragile flag fix and static library rules for c-code

Hi Jack,

I checked the proposed changes once again and they work like this. 
Remark: The nonfraigle flag fix is required for cxx and c-file targets. With cxx only the build still failed. 

Greetings
Eckart