F*ck, it does not compile with gcc < 4.8. Fixed!