add compiler flags for better c++ styles

fix errors that occure with new flags
- use initializer list for options constructor