Use -l syntax for linking windows libraries