Cleanup and compatibility

This update will allow kernels to be correctly generated when using BOAST 0.9996+.
Updating BOAST is not necessary as changes are backward compatible.

Best regards,

Brice Videau