Fix build
Note: this does not fix the warnings generated by clang