Changed directory structure to match deb

Changed directory structure to match debian package version.
Also fixed compilation of static library version on Windows.