add missing symbols for generic and x86 on 3.0, based on Philip Prindeville's patch