implemented gcwinterface for PocketSNES + misc compilation fixes