Avoid error on duplicate definition of bool

This was generated in the course of buildign test7.17, that calls
libslurm.o functions directly.
Add framework for gres.c functions