Remove superflous ifdef CONFIG_{STATIC,SHARED} in makefiles