SIGFPE in value description

GCC is throwing a SIGFPE when using the libtypes.so as an external
library due to a undefined initialization order of global variables.
Changed the code to allocate the object before it is being used.
Missing .h in the installation process

Changed the Makefile.am from subprojects to install the .h when
calling make install.