some fixes for getting a working build