Fixed miles library inclusion on linux