[Makefile] link to the static library
Convert path to OS specific format

Windows requires this
Fix type for address