move bovy_isfin to the header file and redefine as a static inline function to fix clang problems and make the code C99 compatible