Some improvements to the crt0.S bug fix