Removed deprecated functionality. Fixed cmake file