This will make the *.entries files the the authoritative place to
define additional GL function prototypes. All generated header
files are now placed inside the build directory so that nobody
will ever try to touch them again.
Make sure helper libraries get built as static libs regardless
of the cmake version being used.
This fixes issue 217.
Signed-off-by: Bernhard Rosenkränzer <bero@lindev.ch>