added workaround for "#define foreach"-bug in newer boost versions