removed unnecessary cmake package logic