include optional flags.cmake

* flags.cmake sets optional NUMBITS (and other compiler/linker flags)
* NUMBITS used for install directories (e.g. lib64, bin64)
* set CMAKE_DEBUG_POSTFIX to d for all platforms (not just MSVC)