fixes #29
- compiler flags from command line caused compilation to fail