Removed closing ?> PHP tag in the lib

This is bad practice in libraries as it might output unwanted white-spaces.