[BUILD] Added eluna/sd2 flags to shared project