build: allow non-standard variations of linker -l/-L flags