Set the library file name based on the output directory and the filename. Add default library file name extension.
See Implementation