Basic changes required for MageSpec to recognise lib/ dir