add cxxflags and clean-up

Signed-off-by: Cristian Stoica <crististm@gmail.com>