Had to remove the glorious <regex> bceause gcc 4.8.2 does not properly support it