Fixed compilation in gcc. The physics implementation has some serious const correctness issues.