Merge pull request #1 from mehlis/master

make ccn lite relay build with optimizations enabled
include posix standard header
move enum to header due to several includes
include more missing headers