Compile separate lib file before input file