ensure Object.notify is available for Android classpath build and reduce...

... duplication

fixes #353