Fix Resource.h file issue for autotools