added version as a compiler flag define