Ignores trailing or leading whitespace in platform URLs. closes #164

Signed-off-by: deathrat <deathrat43@gmail.com>