fixing the build
fixes to compilation