Make BasicAliasAnalysis correctly register itself. Patch by Devang