mklib: fix static lib building by filtering out -L, -l options