Get the correct path of the classes directory