added configuration flags for compilation