srba: fixes for gcc