fixes for MyGet build