Fixes windows8 deploy errors