initial compile fixes