Special case for $datadir on Amazon

Closes #252