pisnes: Try to fix compilation issue

Just add the missing libs (https://github.com/petrockblog/RetroPie-Setup/issues/509) and use the same -march CFLAG as RetroPie-Setup.