Buildfixes for projects using ugdk.