modify autocompile less hook