Mirror of and modifications to Hillcrest Labs' libfreespace