Fix platform version detection for Debian/Ubuntu (Fix #8)

thanks @enmand for his help

commit f172438f9c40e66e120df9e76764e78a026938e5
Author: Daniel Enman <enmand@unerror.com>
Date:   Tue Apr 15 10:14:09 2014 -0300

    Fix platform version detection for Debian/Ubuntu