use gcc >= 4.8 due to atomic macro requirements