LF build: make sure log output directory exists