add patch for u64 bug; fix FreeType linking problem