remove download resource
fix compiler warnings
add libminiupnp version switch