Fixed compilation on Linux.
Merge pull request #112 from theunknownxy/swrenderer

Fixed compilation on Linux.