Issue 176

I added a test to verify the issue. The platforms were detected correct without other changes.