Fixing examples compilation
Fixing doc creation
Adding core target