add configuration of compilation flags

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>