Add loki patching support 

add libiniparser 
add loki patching supporting