add platform dep - fixes #2