Fix building .rc files.
Fix cast error for 64-bit.
Some utilities need to link with additional windows libraries
Fix linking executables and libraries with resources. Generate proper import libraries.
Remove unneeded code.
Generate import libraries in lib directory.
Fix typo.
Fix resource location.
Windows have another sources for FBGUARD.