Fixed SDL building problem related to new generated code