Fix readonly variable definition.
Fix variables creation order.
Build zlib shared and static in separate folders
Merge pull request #298 from Alexpux/develop

Fix GCC static configuration variables.