Fixes #4
added platform parameter based dependency resolution