Changing to extern smem declaration instead. should fix cc 2.0 issues