correct bug to autoinclude libs
Add AUTO_LIB varibale
change chmod
test lib auto detection
fix formating
change chmod
change chmod
formating
Test auto-lib detection