add instructions for building on MS Windows systems
fix compilation on FreeBSD