Compile with 4.6
Merge pull request #1 from apascual89/jb-mr1

Compile with 4.6