[fix] Build documentation even when library is not installed. Thanks to Samuel Thibault
[fix] Define default arguments in function declaration instead of in function definition. Thanks to Alexander.