Clink compilation, memory management still broken