Corrected a compiler warning
Bumped version to 0.5.1