more compile fixes due to header export