Added declspec

Change-Id: I573b59fdc99bb12e6f9f91bcb8bb5fe1e14d9ab5