Workaround Ant classloader reference problems by using properties