fixes to cake build file