Force to build library if only library source file is modified

It is dirty but worked for now.
Implement 5 buggy functions in lib/lib_sample.c