Fix compile method declaration compatibility
Merge pull request #1 from francoispluchino/fix-compile-declaration-compatibility

Fix the compile method declaration compatibility